package sv.gob.mtps.colectivas.controller;

import java.util.Map;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import sv.gob.mtps.colectivas.rpt.ReporteResultados;

@Component
@Controller
public class ReportesController {
	
	@RequestMapping(value = "/admin/showReportes")
	public  String showReports(Map<String, Object> map){
		return "admin/reportes";
	}
	
	@RequestMapping(value = "/admin/reporteResultados")
	public  String showReporteFechas(Map<String, Object> map){
		map.put("report", new ReporteResultados());
		return "admin/reporteResultados";
	}

}
